<?php
session_start();
$pageURL = 'http';
if ($_SERVER["HTTPS"] == "on") {
    $pageURL .= "s";
}
$pageURL .= "://";
if ($_SERVER["SERVER_PORT"] != "80") {
    $pageURL .= $_SERVER["SERVER_NAME"] . ":" . $_SERVER["SERVER_PORT"] . $_SERVER["REQUEST_URI"];
} else {
    $pageURL .= $_SERVER["SERVER_NAME"] . $_SERVER["REQUEST_URI"];
}
$_SESSION["returnurl"] = $pageURL;
?>

<form id='quick-login' action='account.php' method='get' accept-charset='UTF-8'>
    <input type="hidden" name="do" value="login" />
    <table border="0" cellspacing="4" cellpadding="0">
        <tr>
            <td>Account</td>
            <td>
            <input type='text' name='username' id='username' value='' class="input-mini" />
            </td>
        </tr>
        <tr>
            <td>Password</td>
            <td>
            <input type='password' name='password' id='password' class="input-mini"/>
            </td>
        </tr>
        <tr>
            <td></td><td>
            <input type='submit' name='Submit' value='Submit' id="submit"/>
            <a href='account.php'>Register</a></td>
        </tr>
    </table>
</form>